package com.gimi.cloud.jimi.entity.order;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

/**
 * 还款计划表实体
 */
@Table(name = "t_replant")
public class ReplantEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 还款计划ID
     */
    @Id
    @Column(name = "PLANTID")
    private String plantid;

    /**
     * 账户号
     */
    @Column(name = "ACCOUNTNO")
    private String accountno;

    /**
     * 期数
     */
    @Column(name = "FPERIOD")
    private Integer fperiod;

    /**
     * 到期还款日
     */
    @Column(name = "FMATUREDAY")
    private Date fmatureday;

    /**
     * 结清标示（1结清，0未结清）
     */
    @Column(name = "CLEARFLAG")
    private String clearflag;

    /**
     * 结清时间
     */
    @Column(name = "CLEARDATE")
    private Date cleardate;

    @Column(name = "COMPANYNUM")
    private String companynum;

    @Column(name = "ENTERINGTIME")
    private Date enteringtime;

    @Column(name = "ENTERINGUSERID")
    private String enteringuserid;

    @Column(name = "ENTERINGUSERNAME")
    private String enteringusername;

    @Column(name = "INBRANCHNUM")
    private String inbranchnum;

    @Column(name = "INORGNUM")
    private String inorgnum;

    @Column(name = "UPERTIME")
    private Date upertime;

    @Column(name = "UPERUSERID")
    private String uperuserid;

    @Column(name = "UPERUSERNAME")
    private String uperusername;

    /**
     * 提前还款额
     */
    @Column(name = "FBEFORREPAYMENT")
    private BigDecimal fbeforrepayment;

    /**
     * 每月还款额
     */
    @Column(name = "FMONTHREPAY")
    private BigDecimal fmonthrepay;

    /**
     * 剩余本金
     */
    @Column(name = "FPRINCIPALBALANCE")
    private BigDecimal fprincipalbalance;

    /**
     * 账号id
     */
    @Column(name = "AID")
    private String aid;

    /**
     * 案件id
     */
    @Column(name = "FCASEID")
    private String fcaseid;

    @Column(name = "FCONTRACTCODE")
    private String fcontractcode;

    /**
     * 版本
     */
    @Column(name = "VERSION")
    private BigDecimal version;

    /**
     * 还款计划版本
     */
    @Column(name = "FRELEASE")
    private Long frelease;

    @Column(name = "OVERDUEDAY")
    private Long overdueday;

    @Column(name = "open_id")
    private String openId;

    @Column(name = "RELEASE")
    private Long release;

    /**
     * 砍头息
     */
    @Column(name = "behead_fee")
    private BigDecimal beheadFee;

    /**
     * 佣金
     */
    private BigDecimal commissions;

    /**
     * 结清类型（ZCJQ：正常结清，TQJQ提前结清，YQJQ，逾期结清）
     */
    @Column(name = "CLEAR_TYPE")
    private String clearType;

    /**
     * 获取还款计划ID
     *
     * @return PLANTID - 还款计划ID
     */
    public String getPlantid() {
        return plantid;
    }

    /**
     * 设置还款计划ID
     *
     * @param plantid 还款计划ID
     */
    public void setPlantid(String plantid) {
        this.plantid = plantid;
    }

    /**
     * 获取账户号
     *
     * @return ACCOUNTNO - 账户号
     */
    public String getAccountno() {
        return accountno;
    }

    /**
     * 设置账户号
     *
     * @param accountno 账户号
     */
    public void setAccountno(String accountno) {
        this.accountno = accountno;
    }

    /**
     * 获取期数
     *
     * @return FPERIOD - 期数
     */
    public Integer getFperiod() {
        return fperiod;
    }

    /**
     * 设置期数
     *
     * @param fperiod 期数
     */
    public void setFperiod(Integer fperiod) {
        this.fperiod = fperiod;
    }

    /**
     * 获取到期还款日
     *
     * @return FMATUREDAY - 到期还款日
     */
    public Date getFmatureday() {
        return fmatureday;
    }

    /**
     * 设置到期还款日
     *
     * @param fmatureday 到期还款日
     */
    public void setFmatureday(Date fmatureday) {
        this.fmatureday = fmatureday;
    }

    /**
     * 获取结清标示（1结清，0未结清）
     *
     * @return CLEARFLAG - 结清标示（1结清，0未结清）
     */
    public String getClearflag() {
        return clearflag;
    }

    /**
     * 设置结清标示（1结清，0未结清）
     *
     * @param clearflag 结清标示（1结清，0未结清）
     */
    public void setClearflag(String clearflag) {
        this.clearflag = clearflag;
    }

    /**
     * 获取结清时间
     *
     * @return CLEARDATE - 结清时间
     */
    public Date getCleardate() {
        return cleardate;
    }

    /**
     * 设置结清时间
     *
     * @param cleardate 结清时间
     */
    public void setCleardate(Date cleardate) {
        this.cleardate = cleardate;
    }

    /**
     * @return COMPANYNUM
     */
    public String getCompanynum() {
        return companynum;
    }

    /**
     * @param companynum
     */
    public void setCompanynum(String companynum) {
        this.companynum = companynum;
    }

    /**
     * @return ENTERINGTIME
     */
    public Date getEnteringtime() {
        return enteringtime;
    }

    /**
     * @param enteringtime
     */
    public void setEnteringtime(Date enteringtime) {
        this.enteringtime = enteringtime;
    }

    /**
     * @return ENTERINGUSERID
     */
    public String getEnteringuserid() {
        return enteringuserid;
    }

    /**
     * @param enteringuserid
     */
    public void setEnteringuserid(String enteringuserid) {
        this.enteringuserid = enteringuserid;
    }

    /**
     * @return ENTERINGUSERNAME
     */
    public String getEnteringusername() {
        return enteringusername;
    }

    /**
     * @param enteringusername
     */
    public void setEnteringusername(String enteringusername) {
        this.enteringusername = enteringusername;
    }

    /**
     * @return INBRANCHNUM
     */
    public String getInbranchnum() {
        return inbranchnum;
    }

    /**
     * @param inbranchnum
     */
    public void setInbranchnum(String inbranchnum) {
        this.inbranchnum = inbranchnum;
    }

    /**
     * @return INORGNUM
     */
    public String getInorgnum() {
        return inorgnum;
    }

    /**
     * @param inorgnum
     */
    public void setInorgnum(String inorgnum) {
        this.inorgnum = inorgnum;
    }

    /**
     * @return UPERTIME
     */
    public Date getUpertime() {
        return upertime;
    }

    /**
     * @param upertime
     */
    public void setUpertime(Date upertime) {
        this.upertime = upertime;
    }

    /**
     * @return UPERUSERID
     */
    public String getUperuserid() {
        return uperuserid;
    }

    /**
     * @param uperuserid
     */
    public void setUperuserid(String uperuserid) {
        this.uperuserid = uperuserid;
    }

    /**
     * @return UPERUSERNAME
     */
    public String getUperusername() {
        return uperusername;
    }

    /**
     * @param uperusername
     */
    public void setUperusername(String uperusername) {
        this.uperusername = uperusername;
    }

    /**
     * 获取提前还款额
     *
     * @return FBEFORREPAYMENT - 提前还款额
     */
    public BigDecimal getFbeforrepayment() {
        return fbeforrepayment;
    }

    /**
     * 设置提前还款额
     *
     * @param fbeforrepayment 提前还款额
     */
    public void setFbeforrepayment(BigDecimal fbeforrepayment) {
        this.fbeforrepayment = fbeforrepayment;
    }

    /**
     * 获取每月还款额
     *
     * @return FMONTHREPAY - 每月还款额
     */
    public BigDecimal getFmonthrepay() {
        return fmonthrepay;
    }

    /**
     * 设置每月还款额
     *
     * @param fmonthrepay 每月还款额
     */
    public void setFmonthrepay(BigDecimal fmonthrepay) {
        this.fmonthrepay = fmonthrepay;
    }

    /**
     * 获取剩余本金
     *
     * @return FPRINCIPALBALANCE - 剩余本金
     */
    public BigDecimal getFprincipalbalance() {
        return fprincipalbalance;
    }

    /**
     * 设置剩余本金
     *
     * @param fprincipalbalance 剩余本金
     */
    public void setFprincipalbalance(BigDecimal fprincipalbalance) {
        this.fprincipalbalance = fprincipalbalance;
    }

    /**
     * 获取账号id
     *
     * @return AID - 账号id
     */
    public String getAid() {
        return aid;
    }

    /**
     * 设置账号id
     *
     * @param aid 账号id
     */
    public void setAid(String aid) {
        this.aid = aid;
    }

    /**
     * 获取案件id
     *
     * @return FCASEID - 案件id
     */
    public String getFcaseid() {
        return fcaseid;
    }

    /**
     * 设置案件id
     *
     * @param fcaseid 案件id
     */
    public void setFcaseid(String fcaseid) {
        this.fcaseid = fcaseid;
    }

    /**
     * @return FCONTRACTCODE
     */
    public String getFcontractcode() {
        return fcontractcode;
    }

    /**
     * @param fcontractcode
     */
    public void setFcontractcode(String fcontractcode) {
        this.fcontractcode = fcontractcode;
    }

    /**
     * 获取版本
     *
     * @return VERSION - 版本
     */
    public BigDecimal getVersion() {
        return version;
    }

    /**
     * 设置版本
     *
     * @param version 版本
     */
    public void setVersion(BigDecimal version) {
        this.version = version;
    }

    /**
     * 获取还款计划版本
     *
     * @return FRELEASE - 还款计划版本
     */
    public Long getFrelease() {
        return frelease;
    }

    /**
     * 设置还款计划版本
     *
     * @param frelease 还款计划版本
     */
    public void setFrelease(Long frelease) {
        this.frelease = frelease;
    }

    /**
     * @return OVERDUEDAY
     */
    public Long getOverdueday() {
        return overdueday;
    }

    /**
     * @param overdueday
     */
    public void setOverdueday(Long overdueday) {
        this.overdueday = overdueday;
    }

    /**
     * @return open_id
     */
    public String getOpenId() {
        return openId;
    }

    /**
     * @param openId
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }

    /**
     * @return RELEASE
     */
    public Long getRelease() {
        return release;
    }

    /**
     * @param release
     */
    public void setRelease(Long release) {
        this.release = release;
    }

    /**
     * 获取砍头息
     *
     * @return behead_fee - 砍头息
     */
    public BigDecimal getBeheadFee() {
        return beheadFee;
    }

    /**
     * 设置砍头息
     *
     * @param beheadFee 砍头息
     */
    public void setBeheadFee(BigDecimal beheadFee) {
        this.beheadFee = beheadFee;
    }

    /**
     * 获取佣金
     *
     * @return commissions - 佣金
     */
    public BigDecimal getCommissions() {
        return commissions;
    }

    /**
     * 设置佣金
     *
     * @param commissions 佣金
     */
    public void setCommissions(BigDecimal commissions) {
        this.commissions = commissions;
    }

    /**
     * 获取结清类型（ZCJQ：正常结清，TQJQ提前结清，YQJQ，逾期结清）
     *
     * @return CLEAR_TYPE - 结清类型（ZCJQ：正常结清，TQJQ提前结清，YQJQ，逾期结清）
     */
    public String getClearType() {
        return clearType;
    }

    /**
     * 设置结清类型（ZCJQ：正常结清，TQJQ提前结清，YQJQ，逾期结清）
     *
     * @param clearType 结清类型（ZCJQ：正常结清，TQJQ提前结清，YQJQ，逾期结清）
     */
    public void setClearType(String clearType) {
        this.clearType = clearType;
    }
}